package com.yiyang.exception;

public class ServiceException extends RuntimeException{

    Integer code;
    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code){
        this.code = code;
    }

    public ServiceException(Integer code,String msg){
        super(msg);
        this.code = code;
    }
}
